TEMPLATE = app
TARGET = sea_tests
CONFIG += console
OBJECTS_DIR=$$PWD/tests/_obj

INCLUDEPATH = $$PWD/tests/ $$PWD/core/inc
DEPENDPATH = $$PWD/tests

win32 {
    LIBS += -lsea -Llib/
    LIBS += Winmm.lib
    DESTDIR = $$PWD/bin
}

symbian {

    LIBS += -lsea

} else {

    unix {
        LIBS += $$PWD/lib/libsea.a

        LIBS += -lpthread
        DESTDIR = $$PWD/bin
    }
}

SOURCES = \
    main.cpp \
    test_dispatcher.cpp \
    test_notifier.cpp \
    test_sm.cpp \
    test_parser.cpp \
    test_performance.cpp \
    test_object.cpp \
    test_meta_system.cpp \
    test_words.cpp \
    test_timer.cpp \
    test_associations.cpp \
    test_hello.cpp

HEADERS = \
    test_dispatcher.h \
    test_notifier.h \
    test_sm.h \
    test_parser.h \
    test_performance.h \
    test_object.h \
    test_meta_system.h \
    test_words.h \
    test_timer.h \
    test_associations.h

win32 {
    SOURCES += \
        test_os_win.cpp

    HEADERS += \
        test_os_win.h
}

include( sea.pri )

